#include <iostream>

#include "state.h"
#include "context.h"

Context::Context(State *state)
{
    state_ = state;
}

Context::~Context()
{
    delete state_;
}

void Context::Handle()
{
    state_->Handle(this);
}

void Context::ChangeState(State *state)
{
    state_ = state;
}

